package com.zmzncs.lmtc.module.shop.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zmzncs.lmtc.module.shop.pojo.shop_slide_show.ShopSlideShow;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zmzncs.lmtc.module.shop.pojo.shop_slide_show.ShopSlideShowDTO;

/**
 * <p>
 * 商户-轮播图 服务类
 * </p>
 *
 * @author 高博文
 * @since 2021-05-28
 */
public interface ShopSlideShowService extends IService<ShopSlideShow> {

    /**轮播图-添加商品*/
    void add(Long itemId,Integer itemType,String fileUrl);

    /**分页查询轮播图*/
    IPage<ShopSlideShowDTO> getShopSlideShowPage(Integer currentPage, Integer pageSize);

    /**根据ID查询轮播图*/
    ShopSlideShowDTO getShopSlideShowInfo(Long showId);

}
